Skip to content

Spring cleaning - #20

Merged
mintybasil merged 11 commits into
mainfrom
mintybasil/updates
Feb 26, 2026
Merged

Spring cleaning#20
mintybasil merged 11 commits into
mainfrom
mintybasil/updates

Conversation

@mintybasil

@mintybasil mintybasil commented Feb 25, 2026

Copy link
Copy Markdown
Member

Closes #18, Closes #19.

Additionally:

  • Add details to README, cleanup a bit
  • Introduce AGENTS.md
  • Enable docker builds on PR (no push); add cargo fmt check
  • Fix minor style issues

@mintybasil mintybasil changed the title Disable taskdb check by default, increase poll interval Spring cleaning Feb 25, 2026
@mintybasil
mintybasil marked this pull request as ready for review February 26, 2026 16:56
Comment thread crates/bento-bench/src/prover/prove.rs Outdated
"RUNNING" => {
tokio::time::sleep(tokio::time::Duration::from_millis(100)).await;
continue;
tokio::time::sleep(tokio::time::Duration::from_millis(1000)).await;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd keep this at 100ms. For some shorter proofs this might make the number quite inaccurate, unless the duration is taken from taskdb instead.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a common use case IMO, but precision is definitely a valid concern. Will make this configurable and add a note for users

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Asking for the status every 100ms shouldn't be a problem. If it is, then you have bigger problems. Not sure if it is worth the effort to make it configurable.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It pollutes debug logs. If extreme precision is required taskdb should be used for timing, in which case the interval does not matter.

Comment thread Dockerfile
# Build dependencies only — this layer is cached unless Cargo.toml/Cargo.lock changes
RUN cargo chef cook --release --recipe-path recipe.json

COPY . .

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant I think

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good eye. In this case it's not because the previous COPY . . is into planner which is discarded, not chef.

@mintybasil
mintybasil merged commit c63bd17 into main Feb 26, 2026
2 checks passed
@mintybasil
mintybasil deleted the mintybasil/updates branch February 26, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to skip taskdb connection Increase status polling interval

2 participants